home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / infosrvr / dev / www_talk.930 / 001360_daemon _Fri Jun 18 18:50:30 1993.msg < prev    next >
Internet Message Format  |  1994-01-24  |  4KB

  1. Received: by  nxoc01.cern.ch  (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
  2.     id AA04549; Fri, 18 Jun 93 18:50:35 MET DST
  3. Errors-To: sanders@bsdi.com
  4. Return-Path: <sanders@bsdi.com>
  5. Received: from dxmint.cern.ch by  nxoc01.cern.ch  (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
  6.     id AA04544; Fri, 18 Jun 93 18:50:30 MET DST
  7. Errors-To: sanders@bsdi.com
  8. Received: from austin.BSDI.COM by dxmint.cern.ch (5.65/DEC-Ultrix/4.3)
  9.     id AA23646; Fri, 18 Jun 1993 19:12:43 +0200
  10. Received: from localhost by austin.BSDI.COM (5.67/1.37)
  11.     id AA02364; Fri, 18 Jun 93 12:12:41 -0500
  12. Message-Id: <9306181712.AA02364@austin.BSDI.COM>
  13. To: www-talk@nxoc01.cern.ch
  14. Subject: setext -> HTML converter
  15. Errors-To: sanders@bsdi.com
  16. Reply-To: sanders@bsdi.com
  17. Organization: Berkeley Software Design, Inc.
  18. Date: Fri, 18 Jun 1993 12:12:40 -0500
  19. From: Tony Sanders <sanders@bsdi.com>
  20.  
  21. I'm working on adding a setext -> HTML converter to my HTTP server (I've
  22. got it mostly working already, it's 42 lines of perl, will be about 75
  23. when it's done).  The basic idea is to ease the mark-up required for simple
  24. documents (like email) but it'll work for complex documents as well because
  25. you can use other markup as needed.
  26.  
  27. Setext was created by Ian Feldman <ianf@random.se>, you can contact him for
  28. his setext documents.  I'll try and make them available via HTTP after
  29. I get my converter working better (they are in setext).
  30.  
  31. setext = structure-enchanced text
  32.  
  33. The Basics:
  34.  
  35.     Title        -> <TITLE>Title</TITLE>
  36.     =====        -> <H1>Title</H1>
  37.     subhead
  38.     -------        -> <H2>subhead</H2>
  39.     **bold**            -> <B>bold</B>
  40.     ~italic~            -> <I>italic</I>
  41.     _under_lined_       -> <I>under lined</I>
  42.     hyper_text_         -> <A HREF="http:foo">hyper text</A>
  43.     .. _hyper_text_ http:foo
  44.     .. other dotdot lines are ignored
  45.  
  46. Note that you can put the ".. _hyper_text_ ..." lines anywhere (at the
  47. end is a nice place).  This makes the text easier to read.
  48.  
  49. Setext also defines a blockquote and list style, I'll add support for
  50. them before I release it.
  51.  
  52. <BLOCKQUOTE> for lines like:
  53. > this is a block quote,
  54. > look familiar?
  55.  
  56. and <UL>...</UL> for:
  57.     * list item 1
  58.     * list item 2
  59.  
  60. Currently I can convert documents like:
  61.  
  62.     Sample Setext Document
  63.     ======================
  64.  
  65.     This is a sample setext_ document that shows off the various features
  66.     of setext_ and how easy it is write hypertext documents.
  67.  
  68.     Wouldn't **you** like to be able to write documents using this _simple_
  69.     form of document markup?
  70.  
  71.     What can you do with setext?
  72.     ----------------------------
  73.  
  74.     Most of the things you want to do like:  headers, sub-headers, **bold**,
  75.     _italic_, and hypertext links_.
  76.  
  77.     --sanders
  78.  
  79.     .. _links_  http:links
  80.     .. _setext_ http:setext
  81.  
  82. to:
  83.  
  84.     <HEAD>
  85.     <TITLE>Sample Setext Document</TITLE>
  86.     </HEAD>
  87.     <BODY>
  88.     <H1>Sample Setext Document</H1>
  89.     <P>
  90.     This is a sample 
  91.     <A HREF="http:setext">setext</A>
  92.     document that shows off the various features
  93.     of 
  94.     <A HREF="http:setext">setext</A>
  95.     and how easy it is write hypertext documents.
  96.     <P>
  97.     Wouldn't <B>you</B> like to be able to write documents using this <I>simple</I>
  98.     form of document markup?
  99.     <P>
  100.     <H2>What can you do with setext?</H2>
  101.     <P>
  102.     Most of the things you want to do like:  headers, sub-headers, <B>bold</B>,
  103.     <I>italic</I>, and hypertext 
  104.     <A HREF="http:links">links</A>
  105.     .
  106.     <P>
  107.     --sanders
  108.     <P>
  109.     </BODY>
  110.  
  111.  
  112. Is anyone else interested in this?
  113.  
  114. --sanders